<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--框架必需start-->
<script type="text/javascript" src="../js/jquery-1.4.js"></script>
<script type="text/javascript" src="../js/framework.js"></script>
<link href="../css/import_basic.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" id="skin" />
<!--框架必需end-->

<!--多选框脚本start-->
<script type="text/javascript" src="../js/form/multiselect.js"></script>
<!--多选框脚本end-->

<!--表单验证脚本start-->
<script src="../js/form/validationEngine-cn.js" type="text/javascript"></script>
<script src="../js/form/validationEngine.js" type="text/javascript"></script>
<!--表单验证脚本end-->

<script>

$().ready(function(){
	var a=null;
	a=<%=request.getParameter("p")%>;
	if(a==1)
	{
		alert("添加成功！！！！");
	}
	if(a==0){
		alert("添加失败！！！");
	}
	
})

</script>



</head>
<body>
<div id="scrollContent">
<div class="box1" panelWidth="500" whiteBg="true">
<form method="post" action="addInnerVehicle" method="post">
<table class="tableStyle" formMode="true">
<tr>
<th colspan="2">车辆新增</th>
</tr>
<tr>
<td>车牌号：</td>
<td><input type="text" name="vehicleId"
	class=" validate[required,custom[vehicleNum]]" /><span
	class="star">*</span> </td>
</tr>
<tr>
<td>车类型：</td>     <!-- name="type" -->
<td><select id="sel_1" name="type">
		<option value="越野">越野</option>
		<option value="大巴">大巴</option>
		<option value="中巴">中巴</option>
		<option value="小巴">小巴</option>
		<option value="轿车">轿车</option>
	</select></td>
</tr>
<tr>
<td>车辆等级：</td>      <!--  name="vehicleLevel"-->
<td><select id="sel_2" name="vehicleLevel">
		<option value="师级">师级</option>
		<option value="团级">团级</option>
		<option value="连级">连级</option>
		<option value="排级">排级</option>
		<option value="普通军人">普通军人</option>
	</select></td>
</tr>
<tr>
<td>上传图片：</td>
<td><input type="file" name="vehiclePic" src=""/> </td>
</tr>
<tr>
<td colspan="2"> <input type="submit" value=" 提 交 " /> <input
	type="reset" value=" 重 置 " /> </td>
</tr>
</table>
</form>
</div>
<br /><br /><br /><br />
</div>
</body>
</html>